package model

import (
	"time"
)

type User struct {
	Id        int        `gorm:"id,primary"          json:"id"`
	Name      string     `gorm:"name"                json:"name"`
	Workcode  string     `gorm:"workcode"            json:"workcode"`
	RoleId    int        `gorm:"role_id"             json:"roleId"`
	CreatedAt *time.Time `gorm:"created_at"          json:"createdAt"`
	UpdatedAt *time.Time `gorm:"updated_at"          json:"updatedAt"`
}
